package cn.tedu.Animal;

public class Ant extends Insect implements fly {
    @Override
    void spawn() {
        System.out.println("蚂蚁产卵的数量为:"+egg);
    }

    @Override
    public void fly1() {
        System.out.println("蚂蚁飞了");
    }
}
